package cn.szabadsag.hrm.service;

import cn.szabadsag.hrm.domain.LoginUser;
import cn.szabadsag.hrm.dto.LoginUserDto;
import cn.szabadsag.hrm.util.AjaxResult;
import com.baomidou.mybatisplus.service.IService;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yangcong
 * @since 2022-04-05
 */
public interface ILoginUserService extends IService<LoginUser> {

    AjaxResult addLoginUserDto(LoginUserDto loginUserDto);

    //  更改登录密码
    AjaxResult uptByUsername(LoginUser loginUser);

    //  登录接口
    Map<String, String> login(LoginUser loginUser);
}
